from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^PaSt/', include('PaSt.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
     #(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
     (r'^admin/', include(admin.site.urls)),
     (r'^view/', 'PaSt.past.views.index'),
     (r'^past/(?P<id>\d+)/(?P<sType>\d+)/$', 'PaSt.past.views.general'),
     (r'^past/(?P<id>\d+)/(?P<sType>\d+)/(?P<daterange>\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d;\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d)/$', 'PaSt.past.views.general'),
     (r'^past/team/(?P<sType>\d+)/$', 'PaSt.past.views.team'),
     (r'^past/team/(?P<sType>\d+)/(?P<daterange>\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d;\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d)/$', 'PaSt.past.views.team'),
     (r'^past/team_select/(?P<testlist>(\d+\,){0,}(\d+))/(?P<sType>\d+)/$', 'PaSt.past.views.team_select'),
     (r'^past/team_select/(?P<testlist>(\d+\,){0,}(\d+))/(?P<sType>\d+)/(?P<daterange>\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d;\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d)/$', 'PaSt.past.views.team_select'),
     (r'^past/teamgraph/(?P<num>\d+)/(?P<sType>\d+)/$', 'PaSt.past.views.teamGraph'),
     (r'^past/teamgraph/(?P<num>\d+)/(?P<sType>\d+)/(?P<daterange>\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d;\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d)/$', 'PaSt.past.views.teamGraph'),
     (r'^past/team_select_graph/(?P<num>\d+)/(?P<testlist>(\d+\,){0,}(\d+))/(?P<sType>\d+)/$', 'PaSt.past.views.teamGraph'),
     (r'^past/team_select_graph/(?P<num>\d+)/(?P<testlist>(\d+\,){0,}(\d+))/(?P<sType>\d+)/(?P<daterange>\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d;\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d)/$', 'PaSt.past.views.teamGraph'),
     (r'^past/graph/(?P<id>\d+)/(?P<num>\d+)/(?P<sType>\d+)/$', 'PaSt.past.views.graph'),
     (r'^past/graph/(?P<id>\d+)/(?P<num>\d+)/(?P<sType>\d+)/(?P<daterange>\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d;\d\d\d\d-\d\d-\d\d_\d\d:\d\d:\d\d)/$', 'PaSt.past.views.graph')
 

#     (r'^charts/simple.png$', 'past.views.charts.simple'),


)
